package cn.com.dcsgo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serial;
import java.io.Serializable;

import lombok.Data;

/**
 * 系统用户
 *
 * @author Dcsgo
 * @since 2025/9/17 10:26
 */
@TableName(value = "sys_user")
@Data
public class LoginSysUser implements Serializable {
    /**
     * 用户ID
     */
    @TableId(type = IdType.AUTO)
    private Long userId;

    /**
     * 用户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 状态  0：禁用   1：正常
     */
    private Integer status;

    /**
     * 用户所在的商城Id
     */
    private Long shopId;

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}